package com.iot.messages;

import com.iot.custom.dto.BaseDTO;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author lzb22
 */
@Data
public class MqttSenderDto extends BaseDTO {

    @NotBlank(message = "topic不能为空")
    private String topic;

    @NotBlank(message = "message不能为空")
    private String message;
}
